An occupancy agreement is a contract between a landlord and a tenant that outlines the terms and conditions for renting and living in a property. It specifies important details such as the rent amount, duration of the lease, and the rights and responsibilities of both parties.